<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>usbpsu: xusbpsu_endpoint.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">usbpsu
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xusbpsu__endpoint_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xusbpsu_endpoint.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gac0f03c974b69a658189698e083456080"><td class="memItemLeft" align="right" valign="top">struct XUsbPsu_EpParams *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gac0f03c974b69a658189698e083456080">XUsbPsu_GetEpParams</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gac0f03c974b69a658189698e083456080"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns zeroed parameters to be used by Endpoint commands.  <a href="group__usbpsu__v1__0.html#gac0f03c974b69a658189698e083456080">More...</a><br /></td></tr>
<tr class="separator:gac0f03c974b69a658189698e083456080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28df688a0136bd0efa5cc25ea3272610"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga28df688a0136bd0efa5cc25ea3272610">XUsbPsu_EpGetTransferIndex</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:ga28df688a0136bd0efa5cc25ea3272610"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns Transfer Index assigned by Core for an Endpoint transfer.  <a href="group__usbpsu__v1__0.html#ga28df688a0136bd0efa5cc25ea3272610">More...</a><br /></td></tr>
<tr class="separator:ga28df688a0136bd0efa5cc25ea3272610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2053aec2de928aab94f61f1639058b40"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga2053aec2de928aab94f61f1639058b40">XUsbPsu_SendEpCmd</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u32 Cmd, struct XUsbPsu_EpParams *Params)</td></tr>
<tr class="memdesc:ga2053aec2de928aab94f61f1639058b40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends Endpoint command to Endpoint.  <a href="group__usbpsu__v1__0.html#ga2053aec2de928aab94f61f1639058b40">More...</a><br /></td></tr>
<tr class="separator:ga2053aec2de928aab94f61f1639058b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadda2d8102910024fbfa5bc7a471bea86"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gadda2d8102910024fbfa5bc7a471bea86">XUsbPsu_StartEpConfig</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u32 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:gadda2d8102910024fbfa5bc7a471bea86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends Start New Configuration command to Endpoint.  <a href="group__usbpsu__v1__0.html#gadda2d8102910024fbfa5bc7a471bea86">More...</a><br /></td></tr>
<tr class="separator:gadda2d8102910024fbfa5bc7a471bea86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee37a002689323331de5679e632f8f48"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gaee37a002689323331de5679e632f8f48">XUsbPsu_SetEpConfig</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u16 Size, u8 Type)</td></tr>
<tr class="memdesc:gaee37a002689323331de5679e632f8f48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends Set Endpoint Configuration command to Endpoint.  <a href="group__usbpsu__v1__0.html#gaee37a002689323331de5679e632f8f48">More...</a><br /></td></tr>
<tr class="separator:gaee37a002689323331de5679e632f8f48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17a07022989463d93396219c70975c2f"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga17a07022989463d93396219c70975c2f">XUsbPsu_SetXferResource</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:ga17a07022989463d93396219c70975c2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends Set Transfer Resource command to Endpoint.  <a href="group__usbpsu__v1__0.html#ga17a07022989463d93396219c70975c2f">More...</a><br /></td></tr>
<tr class="separator:ga17a07022989463d93396219c70975c2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bfbe64634a9a737c51857283ba53029"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga6bfbe64634a9a737c51857283ba53029">XUsbPsu_EpEnable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u16 Maxsize, u8 Type)</td></tr>
<tr class="memdesc:ga6bfbe64634a9a737c51857283ba53029"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables Endpoint for sending/receiving data.  <a href="group__usbpsu__v1__0.html#ga6bfbe64634a9a737c51857283ba53029">More...</a><br /></td></tr>
<tr class="separator:ga6bfbe64634a9a737c51857283ba53029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3a191b5b5a02738beffd951ce4883d8"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gab3a191b5b5a02738beffd951ce4883d8">XUsbPsu_EpDisable</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:gab3a191b5b5a02738beffd951ce4883d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables Endpoint.  <a href="group__usbpsu__v1__0.html#gab3a191b5b5a02738beffd951ce4883d8">More...</a><br /></td></tr>
<tr class="separator:gab3a191b5b5a02738beffd951ce4883d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00919567ace4342c864e3c29cf69e58d"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga00919567ace4342c864e3c29cf69e58d">XUsbPsu_EnableControlEp</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u16 Size)</td></tr>
<tr class="memdesc:ga00919567ace4342c864e3c29cf69e58d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables USB Control Endpoint i.e., EP0OUT and EP0IN of Core.  <a href="group__usbpsu__v1__0.html#ga00919567ace4342c864e3c29cf69e58d">More...</a><br /></td></tr>
<tr class="separator:ga00919567ace4342c864e3c29cf69e58d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a8dac1b0ab6d81d8a4e797f2be49845"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga0a8dac1b0ab6d81d8a4e797f2be49845">XUsbPsu_InitializeEps</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga0a8dac1b0ab6d81d8a4e797f2be49845"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes Endpoints.  <a href="group__usbpsu__v1__0.html#ga0a8dac1b0ab6d81d8a4e797f2be49845">More...</a><br /></td></tr>
<tr class="separator:ga0a8dac1b0ab6d81d8a4e797f2be49845"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadbbc16b1799c4415d5e407ad35cca4d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gadbbc16b1799c4415d5e407ad35cca4d0">XUsbPsu_StopTransfer</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:gadbbc16b1799c4415d5e407ad35cca4d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops transfer on Endpoint.  <a href="group__usbpsu__v1__0.html#gadbbc16b1799c4415d5e407ad35cca4d0">More...</a><br /></td></tr>
<tr class="separator:gadbbc16b1799c4415d5e407ad35cca4d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga1f081ab527bf9b7a15bd24ebea69138b">XUsbPsu_ClearStalls</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears Stall on all endpoints.  <a href="group__usbpsu__v1__0.html#ga1f081ab527bf9b7a15bd24ebea69138b">More...</a><br /></td></tr>
<tr class="separator:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a977327906f2995960e50d429703687"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:ga9a977327906f2995960e50d429703687"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to send data on endpoint to Host.  <a href="group__usbpsu__v1__0.html#ga9a977327906f2995960e50d429703687">More...</a><br /></td></tr>
<tr class="separator:ga9a977327906f2995960e50d429703687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0102ce2327d084245189584307ecdfe"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 Length)</td></tr>
<tr class="memdesc:gad0102ce2327d084245189584307ecdfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to receive data on Endpoint from Host.  <a href="group__usbpsu__v1__0.html#gad0102ce2327d084245189584307ecdfe">More...</a><br /></td></tr>
<tr class="separator:gad0102ce2327d084245189584307ecdfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stalls an Endpoint.  <a href="group__usbpsu__v1__0.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">More...</a><br /></td></tr>
<tr class="separator:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears Stall on an Endpoint.  <a href="group__usbpsu__v1__0.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">More...</a><br /></td></tr>
<tr class="separator:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad585fe1304adfd139727220832c2dcf5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#gad585fe1304adfd139727220832c2dcf5">XUsbPsu_SetEpHandler</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir, void(*Handler)(void *, u32, u32))</td></tr>
<tr class="memdesc:gad585fe1304adfd139727220832c2dcf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets an user handler to be called after data is sent/received by an Endpoint.  <a href="group__usbpsu__v1__0.html#gad585fe1304adfd139727220832c2dcf5">More...</a><br /></td></tr>
<tr class="separator:gad585fe1304adfd139727220832c2dcf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga940e5d8d4c56eec4e394507eb0e1ab8b">XUsbPsu_IsEpStalled</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns status of endpoint - Stalled or not.  <a href="group__usbpsu__v1__0.html#ga940e5d8d4c56eec4e394507eb0e1ab8b">More...</a><br /></td></tr>
<tr class="separator:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__v1__0.html#ga5fdd7c08c30d46a9c3024ebe404d877e">XUsbPsu_EpXferComplete</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks the Data Phase and calls user Endpoint handler.  <a href="group__usbpsu__v1__0.html#ga5fdd7c08c30d46a9c3024ebe404d877e">More...</a><br /></td></tr>
<tr class="separator:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
